package cn.sherer.beans.douyin.playlet;

import java.util.List;
import java.util.ArrayList;
import java.io.Serializable;

/**
 * 抖音短剧备案材料
 */
public class DyPlayletAlbumRecordMaterial implements Serializable {
    private String name;
    private int duration;
    private int seqs_count;
    private String production_organisation;
    private List<String> director;
    private List<String> producer;
    private List<String> actor;
    private String summary;
    private String cost_distribution_uri;
    private String assurance_uri;
    private int playlet_production_cost;
    private List<String> screen_writer;

    /** 制作成本：30万以下 */
    public static final int PLAYLET_PRODUCTION_COST_10 = 10;
    /** 制作成本：30～100万 */
    public static final int PLAYLET_PRODUCTION_COST_20 = 20;
    /** 制作成本：100万以上 */
    public static final int PLAYLET_PRODUCTION_COST_30 = 30;


    public DyPlayletAlbumRecordMaterial() {
    }

    public DyPlayletAlbumRecordMaterial(String name, int duration, int seqs_count, String production_organisation, List<String> director, List<String> producer, List<String> actor, String summary, String cost_distribution_uri, String assurance_uri, int playlet_production_cost, List<String> screen_writer) {
        this.name = name;
        this.duration = duration;
        this.seqs_count = seqs_count;
        this.production_organisation = production_organisation;
        this.director = director;
        this.producer = producer;
        this.actor = actor;
        this.summary = summary;
        this.cost_distribution_uri = cost_distribution_uri;
        this.assurance_uri = assurance_uri;
        this.playlet_production_cost = playlet_production_cost;
        this.screen_writer = screen_writer;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getDuration() {
        return duration;
    }

    public void setDuration(int duration) {
        this.duration = duration;
    }

    public int getSeqs_count() {
        return seqs_count;
    }

    public void setSeqs_count(int seqs_count) {
        this.seqs_count = seqs_count;
    }

    public String getProduction_organisation() {
        return production_organisation;
    }

    public void setProduction_organisation(String production_organisation) {
        this.production_organisation = production_organisation;
    }

    public List<String> getDirector() {
        return director == null ? new ArrayList<>() : director;
    }

    public void setDirector(List<String> director) {
        this.director = director == null ? new ArrayList<>() : director;
    }

    public List<String> getProducer() {
        return producer == null ? new ArrayList<>() : producer;
    }

    public void setProducer(List<String> producer) {
        this.producer = producer == null ? new ArrayList<>() : producer;
    }

    public List<String> getActor() {
        return actor == null ? new ArrayList<>() : actor;
    }

    public void setActor(List<String> actor) {
        this.actor = actor == null ? new ArrayList<>() : actor;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getCost_distribution_uri() {
        return cost_distribution_uri;
    }

    public void setCost_distribution_uri(String cost_distribution_uri) {
        this.cost_distribution_uri = cost_distribution_uri;
    }

    public String getAssurance_uri() {
        return assurance_uri;
    }

    public void setAssurance_uri(String assurance_uri) {
        this.assurance_uri = assurance_uri;
    }

    public int getPlaylet_production_cost() {
        return playlet_production_cost;
    }

    public void setPlaylet_production_cost(int playlet_production_cost) {
        this.playlet_production_cost = playlet_production_cost;
    }

    public List<String> getScreen_writer() {
        return screen_writer == null ? new ArrayList<>() : screen_writer;
    }

    public void setScreen_writer(List<String> screen_writer) {
        this.screen_writer = screen_writer == null ? new ArrayList<>() : screen_writer;
    }

    @Override
    public String toString() {
        return "DyPlayletAlbumRecordMaterial{" + "name=" + name + ", duration=" + duration + ", seqs_count=" + seqs_count + ", production_organisation=" + production_organisation + ", director=" + director + ", producer=" + producer + ", actor=" + actor + ", summary=" + summary + ", cost_distribution_uri=" + cost_distribution_uri + ", assurance_uri=" + assurance_uri + ", playlet_production_cost=" + playlet_production_cost + ", screen_writer=" + screen_writer + '}';
    }
}
